package com.amos.knife4j.entity;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Id;

/** 
 * <br/>
 * Created by amos on 2021/09/16
 */
@Entity
@Table(name = "t_dic")
public class Dic{

    /**
	 * id，主键（32位uuid）
	 */
	@Id
	private String id;

    /**
	 * 字典值
	 */
	private String code;

    /**
	 * 字典名称
	 */
	private String name;

    /**
	 * 父级字典
	 */
	private String parentId;

    /**
	 * 字典状态，是否启用，0：禁用，1：启用
	 */
	private String state;

    /**
	 * 创建时间
	 */
	private Date createTime;

    /**
	 * 创建用户id
	 */
	private String createUser;

    /**
	 * 修改时间
	 */
	private Date updateTime;

    /**
	 * 修改用户id
	 */
	private String updateUser;

    /**
	 * 排序
	 */
	private Integer sort;

    public String getId() {
		return id;
	}
    public void setId(String id) {
		this.id = id;
	}
    public String getCode() {
		return code;
	}
    public void setCode(String code) {
		this.code = code;
	}
    public String getName() {
		return name;
	}
    public void setName(String name) {
		this.name = name;
	}
    public String getParentId() {
		return parentId;
	}
    public void setParentId(String parentId) {
		this.parentId = parentId;
	}
    public String getState() {
		return state;
	}
    public void setState(String state) {
		this.state = state;
	}
    public Date getCreateTime() {
		return createTime;
	}
    public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
    public String getCreateUser() {
		return createUser;
	}
    public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
    public Date getUpdateTime() {
		return updateTime;
	}
    public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
    public String getUpdateUser() {
		return updateUser;
	}
    public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}
    public Integer getSort() {
		return sort;
	}
    public void setSort(Integer sort) {
		this.sort = sort;
	}
}
